#include<stdio.h>
int add1, add2, result, sum,flag,count;
int main()
{
	scanf("%d+%d=", &add1, &add2);
	do {
		scanf("%d", &result);
		sum = add1 + add2;
		if (result == sum)
		{
			flag = 1;
			printf("Right!");
			break;
		}
		else
		{
			flag = 0;
			if (count < 2)
			{
				printf("Not correct!Try again!\n");
			}
			else
			{
				printf("Not correct! You have tried three times! Test over!");
			}
		}
		count++;
	} while (flag == 0&&count<3);
}

	
	
